package com.base.po.ip;

import java.util.Date;

/**
 * 访问IP库
 */
public class IpStored {
    private Integer id;

    private String ipaddress;// ip地址

    private String country;// 国家

    private String province;// 省

    private String city;// 市

    private String area;// 区

    private Date createtime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIpaddress() {
        return ipaddress;
    }

    public void setIpaddress(String ipaddress) {
        this.ipaddress = ipaddress == null ? null : ipaddress.trim();
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country == null ? null : country.trim();
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area == null ? null : area.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public IpStored() {
        super();
    }

    public IpStored(String ipaddress, String country, String province, String city, String area, Date createtime) {
        this.ipaddress = ipaddress;
        this.country = country;
        this.province = province;
        this.city = city;
        this.area = area;
        this.createtime = createtime;
    }
}